<!-- Main content -->
<!-- jQuery 2.2.3 -->
<script src="/b2c/shangpinfenlei.js"></script>
<section class="content">
    <div class="row">
        <div class="col-md-12">
            <div class="col-md-3" id="tree_shangpinfenlei">

            </div>
            <div class="col-md-9" id="shangpingfenlei-from">
                <th:block th:each="top:${topc}" th:if="${top.mbh == '0050'}">
                    <form id="b2c-tree-from" action="" method="POST">
                    <div hidden="hidden" class="form-group">
                        <input  type="text" id="mid" class="form-control" name="mid"
                               th:value="${top.mid}" size="30" data-validate="required:必填 ">
                    </div>
                    <div class="form-group">
                        <label for="mmc" class="control-label">名称:</label>
                        <input type="text" id="mmc" class="form-control" name="mmc"
                               th:value="${top.mmc}" size="30" data-validate="required:必填 ">
                    </div>
                    <div class="form-group">
                        <label for="mbh" class="control-label">编号:</label>
                        <input type="text" id="mbh" class="form-control" name="mbh"
                               th:value="${top.mbh}" size="30" data-validate="required:必填 ">
                    </div>
                    <div class="form-group">
                        <label for="jbiezhiduan" class="control-label">级别:</label>
                        <input type="text" id="jbiezhiduan" class="form-control" name="jbiezhiduan"
                               th:value="${top.mbh.length()/4}+'级'" readonly="readonly" size="30"
                               data-validate="required:必填 ">
                    </div>
                    <div class="form-group">
                        <label for="mcjsj" class="control-label">创建时间:</label>
                        <input type="text" id="mcjsj" class="form-control" name="mcjsj"
                               th:value="${top.mcjsj}" readonly="readonly" size="30" data-validate="required:必填 ">
                    </div>
                    <button id="bc" class="btn fa fa-save btn-primary" style="border-radius:5px;" type="button"> 保存
                    </button>
                    <button id="sc" class="btn fa fa-times-circle btn-danger" style="border-radius:5px;" type="button">
                        删除
                    </button>
                    <button id="cjxj" class="btn fa fa-angle-down btn-warning" style="border-radius:5px;"> 创建下级
                    </button>
                    </form>
                </th:block>
            </div>
        </div>
        <!-- /.col -->
    </div>
</section>
<!-- /.content -->
<!--<script src="/static.big/shangpinfenlei.js"></script>-->